<script setup lang="ts">
const props = defineProps<{
  // 高度
  height: String;
  // 宽度
  width: String;
}>()
</script>

<template>
  <div :style="{ width: `${props.width}`, height: `${props.height}` } " class="w-1/3 h-2/5 box-class rounded-lg">
    <slot></slot>
  </div>
</template>

<style scoped lang="stylus">
.box-class {
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 80%, #E3F6F8FF 120%);
  position: relative;
}
</style>